Just Enough R! by Roiger Richard J.;
Author:Roiger, Richard J.;
Language: eng
Format: epub
Publisher: CRC Press LLC
Published: 2020-11-15T00:00:00+00:00
If customers purchase bread, they also purchase milk.
If customers purchase milk and eggs, they also purchase cheese and bread.
If customers purchase milk, cheese, and eggs, they also purchase bread.
The first association tells us that a customer who purchases milk is also likely to purchase bread. The obvious question is âHow likely will the event of a milk purchase lead to a bread purchase?â To answer this, each association rule has an associated confidence. For this rule, confidence is the conditional probability of a bread purchase given a milk purchase. Therefore, if a total of 10,000 customer transactions involve the purchase of milk, and 5000 of those same transactions also contain a bread purchase, the confidence of a bread purchase given a milk purchase is 5000/10,000 = 50%.
Now consider the second rule. Does this rule give us the same information as the first rule? The answer is no! With the first rule, the transaction domain consisted of all customers who had made a milk purchase. For this rule, the domain is the set of all customer transactions that show the purchase of a bread item. As an example, suppose we have a total of 20,000 customer transactions involving a bread purchase and of these, 5000 also involve a milk purchase. This gives us a confidence value for a milk purchase given a bread purchase of 25% vs. 50% for the first rule.
Although the third and fourth rules are more complex, the idea is the same. The confidence for the third rule tells us the likelihood of a purchase of both cheese and bread given a purchase of milk and eggs. The confidence for the fourth rule tells us the likelihood of a bread purchase given the purchase of milk, cheese, and eggs.
One important piece of information that a rule confidence value does not offer is the percent of all transactions containing the attribute values found in an association rule. This statistic is known as the supportfor a rule. Support is simply the minimum percentage of instances (transactions) in the database that contain all items listed in a specific association rule. In the next section, you will see how item sets use support to set limits on the total number of association rules for a given dataset.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(25280)
Hello! Python by Anthony Briggs(24330)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(23419)
Kotlin in Action by Dmitry Jemerov(22500)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(21953)
Dependency Injection in .NET by Mark Seemann(21835)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(20697)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(19514)
Grails in Action by Glen Smith Peter Ledbrook(18592)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(17028)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(15836)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(13683)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(11846)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(11149)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10619)
Hit Refresh by Satya Nadella(9185)
The Kubernetes Operator Framework Book by Michael Dame(8560)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8398)
Robo-Advisor with Python by Aki Ranin(8345)